<?php

/**
 * CLayoutProject
 *
 * Classe que controla as requisicoes de operacoes sobre Projetos de Layout
 *
 * @package controllers
 * @version
 */
class CLayoutProject extends Controller {

    function CLayoutProject() {
        parent::Controller();
        $this->load->model('mlayoutproject', '', TRUE);
    }

    function index() {
        $this->load->view('index', '');
    }

    function doOpen() {
        $out_data = "";
        $out_data = $this->mlayoutproject->open();
        print_r($out_data);
    }

    function doCreate() {
        $out_data = "";
        $out_data = $this->mlayoutproject->create();
        print_r($out_data);
    }

    function doSave() {
        $this->mlayoutproject->save();
    }

    function doSaveAs() {
        $this->mlayoutproject->saveAs();
    }
    
    function doPrint() {
        $out_data = "";
        $out_data = $this->mlayoutproject->printLayout();
        print_r($out_data);
    }

    function doGetLayoutFile() {
        $this->mlayoutproject->getLayoutFile();
    }

}

/* End of file clayoutproject.php */
/* Location: ./system/application/controllers/clayoutproject.php */